<?php
$ms = "Contact";
$subMenu = "contact-menu.php";
include "header.php";
?>
<div class="cornerAll">
	<ul class="breadcrumb">
		<li><a href="index.php" class="fist_link">Home</a></li>
		<li><a href="contacts.php" class="second_link">Contacts</a></li>
		<li><a href="add-contact.php" class="second_link">Add Contact</a></li>
	</ul>
	<div class="left">
	<h1>Add contact</h1>
		<?php 
		$search = new Form();
		$search->addField("text","Name");
		$search->addField("select","Contact type");
		$search->addField("select","Company");
		$search->addField("text","Email");
		$search->addField("text","Phone");
		$search->addField("combo","Website member");
		$search->button("Add contact");
		$search->draw();
		?>	
	</div>
	<div class="clear"></div>
</div>
<?php  
function drawRows(){
	for($i = 0; $i < 10; $i++){
	?>
		<tr>
			<td><a href="contact.php">John Jenkins</a></td>
			<td>Pacific presses</td>
			<td>jj@pp.com</td>
			<td>02092876252</td>
			<td><a href="contact.php">View</a></td>
		</tr>
	<?php 
	}
}
include "footer.php";
?>